<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;


class DatabaseController extends Controller
{
    public function index()
    {

        $public_dir = public_path() . '\sqls';
        $filenames = filesOrderByTime($public_dir);
        return view('admin.database_list', compact('filenames', 'public_dir'));
    }
}
